package com.langfeiyes.pattern.builder.v2;

import java.io.IOException;
import java.io.ObjectInputStream;

public class App {
    public static void main(String[] args) throws IOException, ClassNotFoundException {
        Cola cola = new Cola.ColaBuilder()
                .fillDrink("百事可乐")
                .ingredientHandler("水， 糖浆，香精")
                .packing("pepsi")
                .build();
        System.out.println(cola);

        StringBuilder sb = new StringBuilder();
        sb.append("a").append("b").toString();


        ObjectInputStream is = null;
        is.readObject();

    }
}
